﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using EntityModel
@model WebConfig
@using (Html.BeginForm("Update", "WebConfig", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    <table class="inputTable">
        <tbody>
            <tr>
                <th>
                    网站名称:
                    @Html.HiddenFor(model => model.Id)
                </th>
                <td>
                    <input type="text" id="Name" name="Name" class="formInput" value="@Model.Name" />
                </td>
            </tr>
            <tr>
                <th>
                    联系电话:
                </th>
                <td>
                    <input type="text" name="Tel" class="formTextarea" value="@Model.Tel" />
                </td>
            </tr>
            <tr>
                <th>
                    公司地址:
                </th>
                <td>
                    <input type="text" name="Address" class="formTextarea" value="@Model.Address" />
                </td>
            </tr>
            <tr>
                <th>
                    电子邮件:
                </th>
                <td>
                    <input type="text" name="Email" class="formTextarea" value="@Model.Email" />
                </td>
            </tr>
            <tr>
                <th>
                    备案号码:
                </th>
                <td>
                    <input type="text" name="Icp" class="formTextarea" value="@Model.Icp" />
                </td>
            </tr>
            <tr>
                <th>
                    统计工具:
                </th>
                <td>
                    <input type="text" name="StatisticsTool" class="formTextarea" value="@Model.StatisticsTool" />
                </td>
            </tr>
            <tr>
                <th>
                    页面关键词:
                </th>
                <td>
                    <input type="text" name="KeyWord" class="formTextarea" value="@Model.KeyWord" />
                </td>
            </tr>
            <tr>
                <th>
                    页面描述:
                </th>
                <td>
                    <textarea name="Description" class="formTextarea" >@Model.Description</textarea>
                </td>
            </tr>
            <tr>
                <th>
                    &nbsp;
                </th>
                <td>
                    <input id="btnOK" type="submit" class="formButton" value="保 存" />
                </td>
            </tr>
        </tbody>
    </table>
    
}
